<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<style type="text/css">
			.box1{
				width: 990px;
				height: 32px;
				background-color: #bfa;
				margin: 50px auto;
				/*
				 * 设置为背景图片
				 */
				background-image: url(img/bg.gif);
				/*
				 * 设置水平方向重复
				 */
				background-repeat: repeat-x;
			}
		</style>
		
	</head>
	<body>
		<div class="box1"></div>
	</body>
</html>
